package org.dromara.netbar.domain.bo;

import org.dromara.netbar.domain.NetbarGiftPackLog;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 礼包发放记录业务对象 netbar_gift_pack_log
 *
 * @author Lion Li
 * @date 2025-07-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = NetbarGiftPackLog.class, reverseConvertGenerate = false)
public class NetbarGiftPackLogBo extends BaseEntity {

    /**
     * 主键ID
     */
    @NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long packLogId;

    /**
     * 礼包ID
     */
    @NotNull(message = "礼包ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long packId;

    /**
     * 会员ID
     */
    @NotNull(message = "会员ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long memberId;

    /**
     * 发放时间
     */
    private Date sendTime;


}
